Consistency Check for the Bin Packing Constraint Revisited
نویسندگان
چکیده
The bin packing problem (BP) consists in finding the minimum number of bins necessary to pack a set of items so that the total size of the items in each bin does not exceed the bin capacity C. The bin capacity is common for all the bins. This problem can be solved in Constraint Programming (CP) by introducing one placement variable xi for each item and one load variable lj for each bin. The Pack([x1, . . . , xn], [w1, . . . , wn], [l1, . . . , lm]) constraint introduced by Shaw [1] links the placement variables x1, . . . , xn of n items having weights w1, . . . , wn with the load variables of m bins l1, . . . , lm with domains {0, . . . , C}. More precisely the constraint ensures that ∀j ∈ {1, . . . ,m} : lj = ∑n i=1(xi = j) · wi where xi = j is reified to 1 if the equality holds and to 0 otherwise. The Pack constraint was successfully used in several applications. In addition to the decomposition constraints ∀j ∈ {1, . . . ,m} : lj = ∑n i=1(xi = j) · wi and the redundant constraint ∑n i=1 wi = ∑n j=1 lj , Shaw introduced: 1. a filtering algorithm based on a knapsack reasoning inside each bin, and 2. a failure detection algorithm based on a reduction of the partial solution to a bin packing problem.
منابع مشابه
Two-Bounded-Space Bin Packing Revisited
We analyze approximation algorithms for bounded-space bin packing by comparing them against the optimal bounded-space packing (instead of comparing them against the globally optimal packing that does not necessarily satisfy the bounded-space constraint). For 2-boundedspace bin packing we construct a polynomial time offline approximation algorithm with asymptotic worst case ratio 3/2, and we sho...
متن کاملExtending Two-Dimensional Bin Packing Problem: Consideration of Priority for Items
In this paper a two-dimensional non-oriented guillotine bin packing problem is studied when items have different priorities. Our objective is to maximize the total profit which is total revenues minus costs of used bins and wasted area. A genetic algorithm is developed to solve this problem where a new coding scheme is introduced. To evaluate the performance of the proposed GA, first an upper b...
متن کاملExtending EGENET with Lazy Constraint Consistency
Constraint satisfaction problems (CSPs) occur widely in real-life applications such as bin-packing, planning and scheduling. EGENET, a neural network simulator based on the min-connict heuristic, has had remarkable success in solving hard CSPs such as hard graph-colouring problems. Consistency techniques such as arc consistency have been extensively used to improve the search behaviour of compl...
متن کاملFiltering Atmost1 on Pairs of Set Variables
Many combinatorial problems, such as bin packing, set covering, and combinatorial design, can be conveniently expressed using set variables and constraints over these variables [3]. In constraint programming such problems can be modeled directly in their natural form by means of set variables. This offers a great potential in exploiting the structure captured by set variables during the solutio...
متن کاملA Constraint for Bin Packing
We introduce a constraint for one-dimensional bin packing. This constraint uses propagation rules incorporating knapsack-based reasoning, as well as a lower bound on the number of bins needed. We show that this constraint can significantly reduce search on bin packing problems. We also demonstrate that when coupled with a standard bin packing search strategy, our constraint can be a competitive...
متن کامل